package com.mrd.gtimpframe.service.impl;

import com.mrd.gtimpframe.entity.TGenDeclaInspectRuleRe;
import com.mrd.gtimpframe.repository.TGenDeclaInspectRuleReMapper;
import com.mrd.gtimpframe.service.TGenDeclaInspectRuleReService;

import org.springframework.beans.factory.annotation.Autowired;

public class TGenDeclaInspectRuleReServiceImpl implements TGenDeclaInspectRuleReService {
  @Autowired
  TGenDeclaInspectRuleReMapper tGenDeclaInspectRuleReMapper;

  @Override
  public int deleteByPrimaryKey(Object id) {
    return tGenDeclaInspectRuleReMapper.deleteByPrimaryKey(id);
  }

  @Override
  public int insert(TGenDeclaInspectRuleRe t) {
    return tGenDeclaInspectRuleReMapper.insert(t);
  }

  @Override
  public int insertSelective(TGenDeclaInspectRuleRe t) {
    return tGenDeclaInspectRuleReMapper.insertSelective(t);
  }

  @Override
  public TGenDeclaInspectRuleRe selectByPrimaryKey(Object id) {
    return tGenDeclaInspectRuleReMapper.selectByPrimaryKey(id);
  }

  @Override
  public int updateByPrimaryKeySelective(TGenDeclaInspectRuleRe t) {
    return tGenDeclaInspectRuleReMapper.updateByPrimaryKeySelective(t);
  }

  @Override
  public int updateByPrimaryKey(TGenDeclaInspectRuleRe t) {
    return tGenDeclaInspectRuleReMapper.updateByPrimaryKey(t);
  }

}
